package function

import scala.io.{BufferedSource, Source}

class ReturnScala {
  def oneToTwo:String={
    val i=10
    println("scala函数使用")
    val source: BufferedSource = Source.fromFile("F:\\ComputeDb\\DEV\\logs\\2022-04-20.log")
    source.toString()
  }

}
object ReturnScala{
  def main(args: Array[String]): Unit = {
    val scala = new ReturnScala
    val i: String = scala.oneToTwo
    println(i)
  }
}
